package com.pse.service;

import java.util.List;

import com.pse.model.User;


public interface UserService {
	
	public boolean update(User user);
	
	public boolean delete(int uid);
	
	public User findById(int uid);
	
	public List<User> findAll();
	
	public String login(String uname,String passwd);
	
	public String register(String uname, String passwd,
			String tel, String email, String age, String hobby);

}
